package com.ruoyi.busy.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户令牌对象 busy_apkey
 * 
 * @author ruoyi
 * @date 2025-09-22
 */
public class BusyApkey extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键，自增 */
    private Long id;

    /** 用户ID，关联 sys_user 表的user_id */
    @Excel(name = "用户ID，关联 sys_user 表的user_id")
    private Long userId;

    /** 描述信息 */
    @Excel(name = "描述信息")
    private String description;

    /** 用户令牌 */
    @Excel(name = "用户令牌")
    private String apkey;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setApkey(String apkey) 
    {
        this.apkey = apkey;
    }

    public String getApkey() 
    {
        return apkey;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("description", getDescription())
            .append("apkey", getApkey())
            .append("createTime", getCreateTime())
            .toString();
    }
}
